// 好友模块路由

const express = require('express')
const router = express.Router()

// 引入处理函数模块
const friendHandler = require('../router_handler/friend')

// 发送好友请求
router.get('/apply', friendHandler.friendRequest)
// 拒绝好友请求
router.put('/apply', friendHandler.rejectFriend)
// 同意好友请求
router.post('/apply', friendHandler.beFriend)
// 删除好友
router.get('/delete', friendHandler.deleteFriend)


module.exports = router